package com.liu.mybatisplusdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("orders")
public class Orders implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    @TableField("goods_id")
    private int goodsId;
    @TableField("cosumer_id")
    private int cosumerId;
    private int count;
    private int createtime;
    private int state;
}
